package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/6/6 - 14:09
 * @description 标题
 */
@Data
@TableName("t_system_notice")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SystemNotice", description = "系统通知表表")
public class SystemNotice extends BasePojo {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField("title")
    @ApiModelProperty(value = "标题")
    private String title;

    @TableField("detail")
    @ApiModelProperty(value = "详情")
    private String detail;

}
